#pragma once

#include <QObject>
#include "HttpServer.h"
#include "ApiController.h"
#include "DataServer.h"

class Communication : public QObject
{
	Q_OBJECT

public:
	Communication(QObject *parent);
	~Communication();

	HttpServer *httpServer() const { return m_server; }
	ApiController *apiController() const { return m_apiController; }
	DataServer *dataServer() const { return m_dataServer; }

private:
	HttpServer *m_server;
	ApiController *m_apiController;
	DataServer *m_dataServer;
};
